using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace HKB.Data.Dal
{
	[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), ToolboxItem(true), System.Xml.Serialization.XmlRoot("S_BankrollItem"), System.Xml.Serialization.XmlSchemaProvider("GetTypedDataSetSchema")]
	[System.Serializable]
	public class S_BankrollItem : DataSet
	{
		public delegate void HL_BankrollItemRowChangeEventHandler(object sender, S_BankrollItem.HL_BankrollItemRowChangeEvent e);
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0"), System.Xml.Serialization.XmlSchemaProvider("GetTypedTableSchema")]
		[System.Serializable]
		public class HL_BankrollItemDataTable : DataTable, System.Collections.IEnumerable
		{
			private DataColumn columnItemID;
			private DataColumn columnSalerID;
			private DataColumn columnDateAndTime;
			private DataColumn columnMoney;
			private DataColumn columnMoneyType;
			private DataColumn columnCurrencyType;
			private DataColumn columneBankID;
			private DataColumn columnIncome_PayOut;
			private DataColumn columnOrderFormID;
			private DataColumn columnPaymentID;
			private DataColumn columnRemark;
			private DataColumn columnUserID;
			private DataColumn columnBank;
			private DataColumn columnStatus;
			public event S_BankrollItem.HL_BankrollItemRowChangeEventHandler HL_BankrollItemRowChanging;
			public event S_BankrollItem.HL_BankrollItemRowChangeEventHandler HL_BankrollItemRowChanged;
			public event S_BankrollItem.HL_BankrollItemRowChangeEventHandler HL_BankrollItemRowDeleting;
			public event S_BankrollItem.HL_BankrollItemRowChangeEventHandler HL_BankrollItemRowDeleted;
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn ItemIDColumn
			{
				get
				{
					return this.columnItemID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn SalerIDColumn
			{
				get
				{
					return this.columnSalerID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn DateAndTimeColumn
			{
				get
				{
					return this.columnDateAndTime;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn MoneyColumn
			{
				get
				{
					return this.columnMoney;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn MoneyTypeColumn
			{
				get
				{
					return this.columnMoneyType;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn CurrencyTypeColumn
			{
				get
				{
					return this.columnCurrencyType;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn eBankIDColumn
			{
				get
				{
					return this.columneBankID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn Income_PayOutColumn
			{
				get
				{
					return this.columnIncome_PayOut;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn OrderFormIDColumn
			{
				get
				{
					return this.columnOrderFormID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn PaymentIDColumn
			{
				get
				{
					return this.columnPaymentID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn RemarkColumn
			{
				get
				{
					return this.columnRemark;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn UserIDColumn
			{
				get
				{
					return this.columnUserID;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn BankColumn
			{
				get
				{
					return this.columnBank;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataColumn StatusColumn
			{
				get
				{
					return this.columnStatus;
				}
			}
			[Browsable(false), System.Diagnostics.DebuggerNonUserCode]
			public int Count
			{
				get
				{
					return base.Rows.Count;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_BankrollItem.HL_BankrollItemRow this[int index]
			{
				get
				{
					return (S_BankrollItem.HL_BankrollItemRow)base.Rows[index];
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HL_BankrollItemDataTable()
			{
				base.TableName = "HL_BankrollItem";
				this.BeginInit();
				this.InitClass();
				this.EndInit();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HL_BankrollItemDataTable(DataTable table)
			{
				base.TableName = table.TableName;
				if (table.CaseSensitive != table.DataSet.CaseSensitive)
				{
					base.CaseSensitive = table.CaseSensitive;
				}
				if (table.Locale.ToString() != table.DataSet.Locale.ToString())
				{
					base.Locale = table.Locale;
				}
				if (table.Namespace != table.DataSet.Namespace)
				{
					base.Namespace = table.Namespace;
				}
				base.Prefix = table.Prefix;
				base.MinimumCapacity = table.MinimumCapacity;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected HL_BankrollItemDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context)
			{
				this.InitVars();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void AddHL_BankrollItemRow(S_BankrollItem.HL_BankrollItemRow row)
			{
				base.Rows.Add(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_BankrollItem.HL_BankrollItemRow AddHL_BankrollItemRow(int SalerID, System.DateTime DateAndTime, decimal Money, int MoneyType, int CurrencyType, int eBankID, int Income_PayOut, int OrderFormID, int PaymentID, string Remark, int UserID, int Bank, string Status)
			{
				S_BankrollItem.HL_BankrollItemRow hL_BankrollItemRow = (S_BankrollItem.HL_BankrollItemRow)base.NewRow();
				hL_BankrollItemRow.ItemArray = new object[]
				{
					null,
					SalerID,
					DateAndTime,
					Money,
					MoneyType,
					CurrencyType,
					eBankID,
					Income_PayOut,
					OrderFormID,
					PaymentID,
					Remark,
					UserID,
					Bank,
					Status
				};
				base.Rows.Add(hL_BankrollItemRow);
				return hL_BankrollItemRow;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_BankrollItem.HL_BankrollItemRow FindByItemID(int ItemID)
			{
				return (S_BankrollItem.HL_BankrollItemRow)base.Rows.Find(new object[]
				{
					ItemID
				});
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public virtual System.Collections.IEnumerator GetEnumerator()
			{
				return base.Rows.GetEnumerator();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public override DataTable Clone()
			{
				S_BankrollItem.HL_BankrollItemDataTable hL_BankrollItemDataTable = (S_BankrollItem.HL_BankrollItemDataTable)base.Clone();
				hL_BankrollItemDataTable.InitVars();
				return hL_BankrollItemDataTable;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataTable CreateInstance()
			{
				return new S_BankrollItem.HL_BankrollItemDataTable();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal void InitVars()
			{
				this.columnItemID = base.Columns["ItemID"];
				this.columnSalerID = base.Columns["SalerID"];
				this.columnDateAndTime = base.Columns["DateAndTime"];
				this.columnMoney = base.Columns["Money"];
				this.columnMoneyType = base.Columns["MoneyType"];
				this.columnCurrencyType = base.Columns["CurrencyType"];
				this.columneBankID = base.Columns["eBankID"];
				this.columnIncome_PayOut = base.Columns["Income_PayOut"];
				this.columnOrderFormID = base.Columns["OrderFormID"];
				this.columnPaymentID = base.Columns["PaymentID"];
				this.columnRemark = base.Columns["Remark"];
				this.columnUserID = base.Columns["UserID"];
				this.columnBank = base.Columns["Bank"];
				this.columnStatus = base.Columns["Status"];
			}
			[System.Diagnostics.DebuggerNonUserCode]
			private void InitClass()
			{
				this.columnItemID = new DataColumn("ItemID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnItemID);
				this.columnSalerID = new DataColumn("SalerID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnSalerID);
				this.columnDateAndTime = new DataColumn("DateAndTime", typeof(System.DateTime), null, MappingType.Element);
				base.Columns.Add(this.columnDateAndTime);
				this.columnMoney = new DataColumn("Money", typeof(decimal), null, MappingType.Element);
				base.Columns.Add(this.columnMoney);
				this.columnMoneyType = new DataColumn("MoneyType", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnMoneyType);
				this.columnCurrencyType = new DataColumn("CurrencyType", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnCurrencyType);
				this.columneBankID = new DataColumn("eBankID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columneBankID);
				this.columnIncome_PayOut = new DataColumn("Income_PayOut", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnIncome_PayOut);
				this.columnOrderFormID = new DataColumn("OrderFormID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnOrderFormID);
				this.columnPaymentID = new DataColumn("PaymentID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnPaymentID);
				this.columnRemark = new DataColumn("Remark", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnRemark);
				this.columnUserID = new DataColumn("UserID", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnUserID);
				this.columnBank = new DataColumn("Bank", typeof(int), null, MappingType.Element);
				base.Columns.Add(this.columnBank);
				this.columnStatus = new DataColumn("Status", typeof(string), null, MappingType.Element);
				base.Columns.Add(this.columnStatus);
				base.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[]
				{
					this.columnItemID
				}, true));
				this.columnItemID.AutoIncrement = true;
				this.columnItemID.AllowDBNull = false;
				this.columnItemID.ReadOnly = true;
				this.columnItemID.Unique = true;
				this.columnRemark.MaxLength = 255;
				this.columnStatus.MaxLength = 50;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public S_BankrollItem.HL_BankrollItemRow NewHL_BankrollItemRow()
			{
				return (S_BankrollItem.HL_BankrollItemRow)base.NewRow();
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
			{
				return new S_BankrollItem.HL_BankrollItemRow(builder);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override System.Type GetRowType()
			{
				return typeof(S_BankrollItem.HL_BankrollItemRow);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanged(DataRowChangeEventArgs e)
			{
				base.OnRowChanged(e);
				if (this.HL_BankrollItemRowChanged != null)
				{
					this.HL_BankrollItemRowChanged(this, new S_BankrollItem.HL_BankrollItemRowChangeEvent((S_BankrollItem.HL_BankrollItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowChanging(DataRowChangeEventArgs e)
			{
				base.OnRowChanging(e);
				if (this.HL_BankrollItemRowChanging != null)
				{
					this.HL_BankrollItemRowChanging(this, new S_BankrollItem.HL_BankrollItemRowChangeEvent((S_BankrollItem.HL_BankrollItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleted(DataRowChangeEventArgs e)
			{
				base.OnRowDeleted(e);
				if (this.HL_BankrollItemRowDeleted != null)
				{
					this.HL_BankrollItemRowDeleted(this, new S_BankrollItem.HL_BankrollItemRowChangeEvent((S_BankrollItem.HL_BankrollItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			protected override void OnRowDeleting(DataRowChangeEventArgs e)
			{
				base.OnRowDeleting(e);
				if (this.HL_BankrollItemRowDeleting != null)
				{
					this.HL_BankrollItemRowDeleting(this, new S_BankrollItem.HL_BankrollItemRowChangeEvent((S_BankrollItem.HL_BankrollItemRow)e.Row, e.Action));
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void RemoveHL_BankrollItemRow(S_BankrollItem.HL_BankrollItemRow row)
			{
				base.Rows.Remove(row);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs)
			{
				System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
				System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
				S_BankrollItem s_BankrollItem = new S_BankrollItem();
				xs.Add(s_BankrollItem.GetSchemaSerializable());
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
				xmlSchemaAny.MinOccurs = 0m;
				xmlSchemaAny.MaxOccurs = 79228162514264337593543950335m;
				xmlSchemaAny.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny);
				System.Xml.Schema.XmlSchemaAny xmlSchemaAny2 = new System.Xml.Schema.XmlSchemaAny();
				xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
				xmlSchemaAny2.MinOccurs = 1m;
				xmlSchemaAny2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
				xmlSchemaSequence.Items.Add(xmlSchemaAny2);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute.Name = "namespace";
				xmlSchemaAttribute.FixedValue = s_BankrollItem.Namespace;
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
				System.Xml.Schema.XmlSchemaAttribute xmlSchemaAttribute2 = new System.Xml.Schema.XmlSchemaAttribute();
				xmlSchemaAttribute2.Name = "tableTypeName";
				xmlSchemaAttribute2.FixedValue = "HL_BankrollItemDataTable";
				xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
				xmlSchemaComplexType.Particle = xmlSchemaSequence;
				return xmlSchemaComplexType;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HL_BankrollItemRow : DataRow
		{
			private S_BankrollItem.HL_BankrollItemDataTable tableHL_BankrollItem;
			[System.Diagnostics.DebuggerNonUserCode]
			public int ItemID
			{
				get
				{
					return (int)base[this.tableHL_BankrollItem.ItemIDColumn];
				}
				set
				{
					base[this.tableHL_BankrollItem.ItemIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int SalerID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.SalerIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“SalerID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.SalerIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public System.DateTime DateAndTime
			{
				get
				{
					System.DateTime result;
					try
					{
						result = (System.DateTime)base[this.tableHL_BankrollItem.DateAndTimeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“DateAndTime”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.DateAndTimeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public decimal Money
			{
				get
				{
					decimal result;
					try
					{
						result = (decimal)base[this.tableHL_BankrollItem.MoneyColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“Money”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.MoneyColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int MoneyType
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.MoneyTypeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“MoneyType”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.MoneyTypeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int CurrencyType
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.CurrencyTypeColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“CurrencyType”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.CurrencyTypeColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int eBankID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.eBankIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“eBankID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.eBankIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int Income_PayOut
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.Income_PayOutColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“Income_PayOut”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.Income_PayOutColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int OrderFormID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.OrderFormIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“OrderFormID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.OrderFormIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int PaymentID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.PaymentIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“PaymentID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.PaymentIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string Remark
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_BankrollItem.RemarkColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“Remark”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.RemarkColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int UserID
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.UserIDColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“UserID”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.UserIDColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public int Bank
			{
				get
				{
					int result;
					try
					{
						result = (int)base[this.tableHL_BankrollItem.BankColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“Bank”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.BankColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public string Status
			{
				get
				{
					string result;
					try
					{
						result = (string)base[this.tableHL_BankrollItem.StatusColumn];
					}
					catch (System.InvalidCastException innerException)
					{
						throw new StrongTypingException("表“HL_BankrollItem”中列“Status”的值为 DBNull。", innerException);
					}
					return result;
				}
				set
				{
					base[this.tableHL_BankrollItem.StatusColumn] = value;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			internal HL_BankrollItemRow(DataRowBuilder rb) : base(rb)
			{
				this.tableHL_BankrollItem = (S_BankrollItem.HL_BankrollItemDataTable)base.Table;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsSalerIDNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.SalerIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetSalerIDNull()
			{
				base[this.tableHL_BankrollItem.SalerIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsDateAndTimeNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.DateAndTimeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetDateAndTimeNull()
			{
				base[this.tableHL_BankrollItem.DateAndTimeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsMoneyNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.MoneyColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetMoneyNull()
			{
				base[this.tableHL_BankrollItem.MoneyColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsMoneyTypeNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.MoneyTypeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetMoneyTypeNull()
			{
				base[this.tableHL_BankrollItem.MoneyTypeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsCurrencyTypeNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.CurrencyTypeColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetCurrencyTypeNull()
			{
				base[this.tableHL_BankrollItem.CurrencyTypeColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IseBankIDNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.eBankIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SeteBankIDNull()
			{
				base[this.tableHL_BankrollItem.eBankIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsIncome_PayOutNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.Income_PayOutColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetIncome_PayOutNull()
			{
				base[this.tableHL_BankrollItem.Income_PayOutColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsOrderFormIDNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.OrderFormIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetOrderFormIDNull()
			{
				base[this.tableHL_BankrollItem.OrderFormIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsPaymentIDNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.PaymentIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetPaymentIDNull()
			{
				base[this.tableHL_BankrollItem.PaymentIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsRemarkNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.RemarkColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetRemarkNull()
			{
				base[this.tableHL_BankrollItem.RemarkColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsUserIDNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.UserIDColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetUserIDNull()
			{
				base[this.tableHL_BankrollItem.UserIDColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsBankNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.BankColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetBankNull()
			{
				base[this.tableHL_BankrollItem.BankColumn] = System.Convert.DBNull;
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public bool IsStatusNull()
			{
				return base.IsNull(this.tableHL_BankrollItem.StatusColumn);
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public void SetStatusNull()
			{
				base[this.tableHL_BankrollItem.StatusColumn] = System.Convert.DBNull;
			}
		}
		[GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
		public class HL_BankrollItemRowChangeEvent : System.EventArgs
		{
			private S_BankrollItem.HL_BankrollItemRow eventRow;
			private DataRowAction eventAction;
			[System.Diagnostics.DebuggerNonUserCode]
			public S_BankrollItem.HL_BankrollItemRow Row
			{
				get
				{
					return this.eventRow;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public DataRowAction Action
			{
				get
				{
					return this.eventAction;
				}
			}
			[System.Diagnostics.DebuggerNonUserCode]
			public HL_BankrollItemRowChangeEvent(S_BankrollItem.HL_BankrollItemRow row, DataRowAction action)
			{
				this.eventRow = row;
				this.eventAction = action;
			}
		}
		private S_BankrollItem.HL_BankrollItemDataTable tableHL_BankrollItem;
		private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
		[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.Diagnostics.DebuggerNonUserCode]
		public S_BankrollItem.HL_BankrollItemDataTable HL_BankrollItem
		{
			get
			{
				return this.tableHL_BankrollItem;
			}
		}
		[Browsable(true), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), System.Diagnostics.DebuggerNonUserCode]
		public override SchemaSerializationMode SchemaSerializationMode
		{
			get
			{
				return this._schemaSerializationMode;
			}
			set
			{
				this._schemaSerializationMode = value;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataTableCollection Tables
		{
			get
			{
				return base.Tables;
			}
		}
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), System.Diagnostics.DebuggerNonUserCode]
		public new DataRelationCollection Relations
		{
			get
			{
				return base.Relations;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public S_BankrollItem()
		{
			base.BeginInit();
			this.InitClass();
			CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
			base.Tables.CollectionChanged += value;
			base.Relations.CollectionChanged += value;
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected S_BankrollItem(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context, false)
		{
			if (base.IsBinarySerialized(info, context))
			{
				this.InitVars(false);
				CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
				this.Tables.CollectionChanged += value;
				this.Relations.CollectionChanged += value;
			}
			else
			{
				string s = (string)info.GetValue("XmlSchema", typeof(string));
				if (base.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
				{
					DataSet dataSet = new DataSet();
					dataSet.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
					if (dataSet.Tables["HL_BankrollItem"] != null)
					{
						base.Tables.Add(new S_BankrollItem.HL_BankrollItemDataTable(dataSet.Tables["HL_BankrollItem"]));
					}
					base.DataSetName = dataSet.DataSetName;
					base.Prefix = dataSet.Prefix;
					base.Namespace = dataSet.Namespace;
					base.Locale = dataSet.Locale;
					base.CaseSensitive = dataSet.CaseSensitive;
					base.EnforceConstraints = dataSet.EnforceConstraints;
					base.Merge(dataSet, false, MissingSchemaAction.Add);
					this.InitVars();
				}
				else
				{
					base.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(s)));
				}
				base.GetSerializationData(info, context);
				CollectionChangeEventHandler value2 = new CollectionChangeEventHandler(this.SchemaChanged);
				base.Tables.CollectionChanged += value2;
				this.Relations.CollectionChanged += value2;
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void InitializeDerivedDataSet()
		{
			base.BeginInit();
			this.InitClass();
			base.EndInit();
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public override DataSet Clone()
		{
			S_BankrollItem s_BankrollItem = (S_BankrollItem)base.Clone();
			s_BankrollItem.InitVars();
			s_BankrollItem.SchemaSerializationMode = this.SchemaSerializationMode;
			return s_BankrollItem;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeTables()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override bool ShouldSerializeRelations()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override void ReadXmlSerializable(System.Xml.XmlReader reader)
		{
			if (base.DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
			{
				this.Reset();
				DataSet dataSet = new DataSet();
				dataSet.ReadXml(reader);
				if (dataSet.Tables["HL_BankrollItem"] != null)
				{
					base.Tables.Add(new S_BankrollItem.HL_BankrollItemDataTable(dataSet.Tables["HL_BankrollItem"]));
				}
				base.DataSetName = dataSet.DataSetName;
				base.Prefix = dataSet.Prefix;
				base.Namespace = dataSet.Namespace;
				base.Locale = dataSet.Locale;
				base.CaseSensitive = dataSet.CaseSensitive;
				base.EnforceConstraints = dataSet.EnforceConstraints;
				base.Merge(dataSet, false, MissingSchemaAction.Add);
				this.InitVars();
			}
			else
			{
				base.ReadXml(reader);
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		protected override System.Xml.Schema.XmlSchema GetSchemaSerializable()
		{
			System.IO.MemoryStream memoryStream = new System.IO.MemoryStream();
			base.WriteXmlSchema(new System.Xml.XmlTextWriter(memoryStream, null));
			memoryStream.Position = 0L;
			return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(memoryStream), null);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars()
		{
			this.InitVars(true);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		internal void InitVars(bool initTable)
		{
			this.tableHL_BankrollItem = (S_BankrollItem.HL_BankrollItemDataTable)base.Tables["HL_BankrollItem"];
			if (initTable)
			{
				if (this.tableHL_BankrollItem != null)
				{
					this.tableHL_BankrollItem.InitVars();
				}
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitClass()
		{
			base.DataSetName = "S_BankrollItem";
			base.Prefix = "";
			base.Namespace = "http://tempuri.org/S_BankrollItem.xsd";
			base.EnforceConstraints = true;
			this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
			this.tableHL_BankrollItem = new S_BankrollItem.HL_BankrollItemDataTable();
			base.Tables.Add(this.tableHL_BankrollItem);
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private bool ShouldSerializeHL_BankrollItem()
		{
			return false;
		}
		[System.Diagnostics.DebuggerNonUserCode]
		private void SchemaChanged(object sender, CollectionChangeEventArgs e)
		{
			if (e.Action == CollectionChangeAction.Remove)
			{
				this.InitVars();
			}
		}
		[System.Diagnostics.DebuggerNonUserCode]
		public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs)
		{
			S_BankrollItem s_BankrollItem = new S_BankrollItem();
			System.Xml.Schema.XmlSchemaComplexType xmlSchemaComplexType = new System.Xml.Schema.XmlSchemaComplexType();
			System.Xml.Schema.XmlSchemaSequence xmlSchemaSequence = new System.Xml.Schema.XmlSchemaSequence();
			xs.Add(s_BankrollItem.GetSchemaSerializable());
			System.Xml.Schema.XmlSchemaAny xmlSchemaAny = new System.Xml.Schema.XmlSchemaAny();
			xmlSchemaAny.Namespace = s_BankrollItem.Namespace;
			xmlSchemaSequence.Items.Add(xmlSchemaAny);
			xmlSchemaComplexType.Particle = xmlSchemaSequence;
			return xmlSchemaComplexType;
		}
	}
}
